package com.chen.service;

import com.chen.pojo.UserDao;

public class UserServiceImpl implements UserService {
    private UserDao userDao;
//   使用Set方法进行依赖注入
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void getUser() {
        userDao.getUser();
    }


}
